// Beginning Game Programming
// Chapter 9
// dxaudio.h - DirectSound framework header file


#ifndef _CSOUND_H
#define _CSOUND_H

#include "dsutil.h"

class CMusic
{
//primary DirectSound object
private:
	CSoundManager *dsound;
	CSound *sound_bounce;

public:
	CMusic();
	int InitSound(HWND);
	int Init_DirectSound(HWND);
	CSound* LoadSound(char *);
	void PlaySound();
	void LoopSound();
	void StopSound();
	~CMusic();
};

#endif

